Workaround for latex-forward-sexp slowness.
authorJoão Távora <joaotavora@gmail.com>
Fri, 3 Aug 2012 02:29:59 +0000 (10:29 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 3 Aug 2012 02:29:59 +0000 (10:29 +0800)
commit3671be97ad678c3d253dbea1e5b2baa503cf4c79
tree8841586312d591a14802cd5e0a0cd786683c2fce
parenta1cc4fd0e66cd51f9b654a50cc7379f829b74184
Workaround for latex-forward-sexp slowness.

* textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop if
sexp scanning does not move point.
lisp/ChangeLog
lisp/textmodes/tex-mode.el